package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/car")
public class CarController {
    @GetMapping
    public String all(){
        System.out.println("all---car");
        return "";
    }
    @PostMapping
    public String add(){
        System.out.println("add---car");
        return "";
    }
}
